home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HAM Radio 3.2
/
Ham Radio Version 3.2 (Chestnut CD-ROMs)(1993).ISO
/
packet
/
n17jsrc
/
ppppap.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-03-16
|
754b
|
25 lines
#ifndef _PPPPAP_H
#define _PPPPAP_H
/* PAP config packet codes */
/* PAP control block */
struct pap_s {
char *username; /* Username for REQ */
char *password; /* Password for REQ */
char *peername; /* Peername from remote */
char *message; /* message from last ACK/NAK */
};
#define PAP_REQ_TRY 10 /* REQ attempts */
#define PAP_FAIL_MAX 5 /* # attempts from remote */
#define PAP_TIMEOUT 3 /* Seconds to wait for response */
int pap_local __ARGS((struct ppp_s *ppp_p));
int pap_remote __ARGS((struct ppp_s *ppp_p));
void pap_down __ARGS((struct fsm_s *fsm_p));
void pap_proc __ARGS((struct fsm_s *fsm_p, struct mbuf *bp));
int doppp_pap __ARGS((int argc, char *argv[], void *p));
#endif /* _PPPPAP_H */